]> dgit.raspbian.org Git - gnome-shell.git/commit
panel: Don't chain up to non-existent parent vfunc
authorJonas Dreßler <verdre@v0yd.nl>
Mon, 4 Nov 2019 10:18:25 +0000 (11:18 +0100)
committerJonas Dreßler <verdre@v0yd.nl>
Thu, 14 Nov 2019 18:52:34 +0000 (19:52 +0100)
commitc1ae634174db37d00a0715fde69aa92dad3b9ff0
treebfdf32f9d1258570ef7435caa7ba8ccc14ade345
parent88bcaafe86b439db97eadc76b3b50395e5175724
panel: Don't chain up to non-existent parent vfunc

Just as with c35b4cede58142797b1f6b04a4e2e7eaa938234a, there's no
default vfunc implemented by any parent which causes gjs to crash when
trying to call it.

So return EVENT_STOP if the key press successfully toggled the button,
and EVENT_PROPAGATE otherwise.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/830
js/ui/panel.js